#include <stdlib.h>
#include <stdio.h>

typedef int (*func_ptr)(char ch,int num);

int add(char ch,int num);
int minus(char ch,int num);

int main()
{
	func_ptr func; 
	func = add;
	printf("func(20,5)=%d\n",func(20,5));
	func = minus;
	printf("func(20,5)=%d\n",func(20,5));
	return 0;
}

int add(char ch,int num)
{
	return (ch + num);
}
int minus(char ch,int num)
{
	return (ch - num);
}
